extend ../layout
block append css
    link(rel="stylesheet" href="/duimen/css/mobiscroll.css")
    link(rel="stylesheet" href="/duimen/css/admin.css")
block content
    include ../includes/_head
    .post-vote
        input.vote-title(placeholder="请填写投票名称")
        div.textbox
            textarea.admin-textarea(placeholder="写投票内容")
            ul.img-ul.clearfix(style="height:1.2rem")
            a(href="javascript:void 0").addimg.J-big
        .select-type(style="visibility:hidden")
            span 选择投票类别：
            input(type="radio" name="vote-type" id="voteType-1" checked)
            i
            label(for="voteType-1" disabled) 单选
            input(type="radio" name="vote-type" id="voteType-2")
            i.last-type
            label(for="voteType-2" disabled) 多选
        .obtion-box
            .vote-option 
                input(placeholder="投票选项一" maxlength='20')
                span 0/20
            ul.vote-ul.clearfix
                li
                    a(href="javascript:void 0").addimg
        .add-option
            p
                a 增加投票选项
        .select-type.active-time
            i
            |活动时间
        .time-box(style="display:none")
            input(type="text" placeholder="起始时间" id="start-time" name="start-time").input-time
            input(type="text" placeholder="结束时间(请先选择起始时间)" id="over-time" name="over-time" disabled).input-time
        button.admin-post.disable 发布
        form#uploadform
            input#upload1(type="file" style="visibility:hidden" name="file")
block append js
    script(src='/duimen/js/jquery.js')
    script(src="/duimen/js/ajaxfileupload.js")
    script(src="/duimen/js/alertBox.js")
    script(src='/duimen/js/postVote.js')
    script(src='/duimen/js/mobiscroll.js')